﻿<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="AdminPage.aspx.cs" Inherits="HostingDomainWebsite.AdminPage" %>

<%@ Register Assembly="obout_Grid_NET" Namespace="Obout.Grid" TagPrefix="cc1" %>

<%@ Register Assembly="Obout.Ajax.UI" Namespace="Obout.Ajax.UI.HTMLEditor" TagPrefix="obout" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">

<fieldset class="myfield">

    <p>
        <label>Username:</label>
        <input class="text-input small-input" type="text" value="<%=Session["username"]%>" style="border:none;" disabled />
    </p>
	<p>
        <label for="txtEmail">Email:</label>
        <input class="text-input small-input" type="text" runat="server" id="txtEmail" autofocus />
    </p>
    <p>
        <label for="txtPhone">Phone:</label>
        <input class="text-input small-input" type="text" runat="server" id="txtPhone" /></p>
    <p>
        <label for="txtAddress">Address:</label>
        <textarea class="text-input medium-input" runat="server" id="txtAddress"></textarea>
    </p>
    <p>
        <input id="bUpdate" class="button" runat="server" type="submit" value="Update" onserverclick="Update_Click" />
        <input id="bReset" class="button" runat="server" type="button" value="Reset" onserverclick="Reset_Click" />
    </p>
</fieldset>

<asp:UpdatePanel ID="udp1" runat="server">
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="bUpdate" />
        <asp:AsyncPostBackTrigger ControlID="bReset" />
    </Triggers>
</asp:UpdatePanel>

</asp:Content>
